package com.xh.one2one.knowledgeSystem.dao;

import com.xh.core.bean.XhPage;
import com.xh.one2one.knowledgeSystem.bean.dto.KnowledgeManagerDto;
import com.xh.one2one.knowledgeSystem.bean.request.KnowledgeManagerRequest;
import com.xh.one2one.knowledgeSystem.model.KnowledgeManager;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 知识元管理 Mapper 接口
 * </p>
 *
 * @author tw
 * @since 2020-12-22
 */
public interface KnowledgeManagerMapper extends BaseMapper<KnowledgeManager> {
    XhPage<KnowledgeManagerDto> queryByPage(@Param("page")XhPage page, @Param("bean") KnowledgeManagerRequest knowledgeTemplateRequest);
    String queryTemplateIdById(String id);
}
